package repository.exceptions;

public class RepositoryException extends Exception{
	private String info;
	private Exception ex;
	
	public RepositoryException(final String info) {
		super(info);
		this.info = info;
	}
	
	public RepositoryException(final String info, final Exception ex) {
		super(info, ex);
		this.info = info;
		this.ex = ex;
	}
	public String getInfo() {
		return info;
	}
}
